package com.cloudlinkscm.loms.services.base.notify.dto.email.builder;

import com.cloudlinkscm.loms.services.base.notify.dto.email.EmailMessageDto;

/**
 * {@link EmailMessageDto}构建器
 *
 * @author : tac
 * @date : 2017/7/12
 */
public interface EmailMessageDtoBuilder {

    EmailMessageDto build();

    static EmailMessageDtoBuilderConcrete newInstance(String senderName, String recipientName, String recipientMail, String subject){
        return new EmailMessageDtoBuilderConcrete(senderName, recipientName, recipientMail, subject);
    }

}
